.Net Framework > v2.0.50727 > System > Management > ManagementObjectSearcher ManagementObjectSearcher
Category
Class
Description
Retrieves a collection of management objects based on a specified query. This class is one of the more commonly used entry points to retrieving management information. For example, it can be used to enumerate all disk drives, network adapters, processes and many more management objects on a system, or to query for all network connections that are up, services that are paused, and so on. When instantiated, an instance of this class takes as input a WMI query represented in an System.Management.ObjectQuery or its derivatives, and optionally a System.Management.ManagementScope representing the WMI namespace to execute the query in. It can also take additional advanced options in an System.Management.EnumerationOptions. When the System.Management.ManagementObjectSearcher.Get method on this object is invoked, the System.Management.ManagementObjectSearcher executes the given query in the specified scope and returns a collection of management objects that match the query in a System.Management.ManagementObjectCollection.
Assembly
System.Management
Character
public
Attributes
NameValue/Assignment
ToolboxItemAttributeFalse
Ancestors
Component > MarshalByRefObject > Object
Contstructors
ManagementObjectSearcher()
ManagementObjectSearcher(ManagementScope,ObjectQuery)
ManagementObjectSearcher(ManagementScope,ObjectQuery,EnumerationOptions)
ManagementObjectSearcher(ObjectQuery)
ManagementObjectSearcher(String)
ManagementObjectSearcher(String,String)
ManagementObjectSearcher(String,String,EnumerationOptions)
Properties
Options
Query
Scope
Methods
Get()
Get(ManagementOperationObserver)
Tags
0103E2B958, 02E3ABA98D, 0376596F91
Software for developers
.Net Components
Delphi Components
Software for Android Developers
More information resources
WinAPI Programmer's Reference
Unix Manual Pages
Delphi Examples
Databases for Amazon shops developers
Amazon Categories Database
Browse Nodes Database